<?phpclass GrouponEntity extends GrouponEntityBase{	public function __construct($arrValue = null, $prefix = '')	{		if(!is_null($arrValue) && is_array($arrValue)){			parent::__construct($arrValue, $prefix);		}	}	public function getAuthorName()	{		$str = "";		$usersDataService = new UsersDataService();		if($this->ownerId != "")		{			$userItem = $usersDataService->getById($this->ownerId);			$str = $userItem->username;		}		return $str;	}		public function getThumb($picture = null)	{		if(!is_null($picture)){			$this->picture = $picture;		}		$pic = explode(',', $this->picture);		return Zend_Registry::get('config')->APPLICATION_URL . '/Resources/Thumbnails/' . $pic[0];	}	public function getImage($picture = null)	{		if(!is_null($picture)){			$this->picture = $picture;		}		$pic = explode(',', $this->picture);		return Zend_Registry::get('config')->APPLICATION_URL . '/Resources/Images/' . $pic[0];	}}